package com.wctj.api.business.huifu.dto;

import com.wctj.api.base.enums.GenderEnums;
import com.wctj.api.business.common.dto.BasePayConfigDTO;
import com.wctj.api.business.huifu.enums.HuiFuCertTypeEnums;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class HuiFuMemberUserDTO extends BasePayConfigDTO {

    @NotBlank(message = "app_id不能为空")
    private String appId; // 控制台主页面应用的app_id
    @NotBlank(message = "会员ID或用户ID不能为空")
    private String mid; // member_id 商户下的用户id，只能为英文、数字或者下划线的一种或多种组合，保证在app_id下唯一
    private String location; // 用户地址
    private String email; // 用户邮箱
    private GenderEnums gender; // MALE：男，FEMALE：女，为空时表示未填写
    private String nickname; // 用户昵称

    @NotBlank(message = "手机号不能为空")
    private String telNo; // 用户手机号

    @NotBlank(message = "姓名不能为空")
    private String userName; // 用户姓名

    @NotNull(message = "证件类型不能为空")
    private HuiFuCertTypeEnums certType; // 证件类型，仅支持：00-身份证

    @NotBlank(message = "证件号不能为空")
    private String certId; // 证件号

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public GenderEnums getGender() {
        return gender;
    }

    public void setGender(GenderEnums gender) {
        this.gender = gender;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getTelNo() {
        return telNo;
    }

    public void setTelNo(String telNo) {
        this.telNo = telNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public HuiFuCertTypeEnums getCertType() {
        return certType;
    }

    public void setCertType(HuiFuCertTypeEnums certType) {
        this.certType = certType;
    }

    public String getCertId() {
        return certId;
    }

    public void setCertId(String certId) {
        this.certId = certId;
    }
}
